package com.ktgj.hotel.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 dic_supplier
 * 
 * @author ruoyi
 * @date 2021-12-09
 */
public class DicSupplier extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String supplierName;

    /** 别名 */
    @Excel(name = "别名")
    private String supplierAlias;

    /** 1: 有效 0：无效 */
    @Excel(name = "1: 有效 0：无效")
    private Long isValid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSupplierName(String supplierName) 
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName() 
    {
        return supplierName;
    }
    public void setSupplierAlias(String supplierAlias) 
    {
        this.supplierAlias = supplierAlias;
    }

    public String getSupplierAlias() 
    {
        return supplierAlias;
    }
    public void setIsValid(Long isValid) 
    {
        this.isValid = isValid;
    }

    public Long getIsValid() 
    {
        return isValid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("supplierName", getSupplierName())
            .append("supplierAlias", getSupplierAlias())
            .append("isValid", getIsValid())
            .toString();
    }
}
